
local mt = ac.skill['坚挺光环']
mt.model1 = [[Abilities\Spells\Other\GeneralAuraTarget\GeneralAuraTarget.mdl]]

function mt:on_add()
    local hero = self.owner
    self:gc(hero:add_effect(self.model1))
    self:gc(hero:add_buff '光环'{
        buff_name = '坚挺光环',
        area_type = 'ally',
        aura_area = 900,
    })
end


local buff = ac.buff['坚挺光环']
buff.time = 1
buff.cover_type = 1
buff.cover_max = 1
function buff:on_add()
    local hero = self.owner
    self:gc(hero:add('护甲加成',100))
    self:gc(hero:add('魔抗加成',100))
end
